Skip to content

Additional level of subpage support - #2440

Merged
jtenniswood merged 7 commits into
mainfrom
consolidated-runtime-stack
Nov 30, 2026
Merged

jtenniswood merged 7 commits into
mainfrom
consolidated-runtime-stack

Conversation

@jtenniswood

@jtenniswood jtenniswood commented Nov 7, 2026 •

Copy link
Copy Markdown
Owner

Summary

Consolidates the pooled-runtime and guarded nested-pages architecture stack into one reviewable change. This supersedes the stacked PRs from #2266 through #2424 that belong to this work (including #2266 and #2275).

Production remains on document v1 and one-level navigation. The S3-only depth-two setting used during local testing is not included. The tested S3 refresh tuning is included.

The branch incorporates current main, regenerated web assets, and the backup-export fix that flushes and awaits pending layout saves before reading the saved snapshot.

Practical impact

This combines the runtime foundations, memory instrumentation and limits, lifecycle and renderer work, compatibility/persistence changes, and guarded nested-page support into one branch against main. It is not merged to main; keep this PR open for checks and user testing.

Checks

  • GitHub CI passed for 872dafd3b, including the required check graph, generated assets, firmware tests, documentation build and browser USB installer check.
  • Automated code review completed with no findings for 872dafd3b.
  • Backup regression test passed: export waits for initial state and the flushed layout save, and refuses to read/download after a save failure.
  • Native document conversion checks passed locally: 581 C++/browser imports, 1,176 successful projections, and rejection/bounds cases.
  • git diff --check and conflict-marker scan passed.
  • Firmware compilation: GitHub firmware gate passed for the 7-inch P4 and 4-inch S3. The 4.3-inch P4 factory firmware also compiled successfully locally using the pinned ESPHome 2026.10.2 Docker image.
  • Physical testing of the final consolidated branch remains pending. Earlier stacked-branch device tests do not replace testing this combined branch.

Testing notes

Flash and test the branch firmware on the 7-inch P4 (guition-esp32-p4-jc1060p470), 4.3-inch P4 (guition-esp32-p4-jc4880p443) and 4-inch S3 (guition-esp32-s3-4848s040) as available.

  1. Move or resize a Home card and immediately export a backup. Restore it and confirm the latest arrangement is retained.
  2. Check normal one-level page navigation, page colours and refresh, card controls and modals.
  3. Check backup/restore compatibility, persistence after reboot, and stability/memory during repeated navigation and extended use.
  4. Focus on S3 page-change refresh and P4 full-screen refresh.

Production remains on document v1 and one-level navigation. Nested-page production limits remain governed by the generated device contract. Keep this PR open until physical testing is confirmed.

Superseded PRs

The consolidated architecture stack is represented by this PR. Independent work remains in separate PRs, including #2437, #2278, #2277, #2233, #2216, #2165, #2023, and #568.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 7, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-30T11:56:40.971130Z e6c0d0e New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ecebf258a4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/webserver/application/app_backup.ts Resolved
jtenniswood added a commit to jtenniswood/espdesktop that referenced this pull request Nov 8, 2026
)

Enable two subpage levels for release, including Companion app shortcut pages inside folders. Import existing layouts and store new layouts in native v2 format with current-firmware-only downgrade policy.

Preserve folder identities, page titles, nested state subscriptions, atomic saves, backup round trips and failed-save recovery. Integrate the latest main changes and resolve all review feedback.

Validation: complete CI, 181 host tests, 356 web tests, browser journeys, firmware builds and user-confirmed S3 testing on commit 8f2b48e.

Ported from jtenniswood/espcontrol#2440 at 521f599379d6b888a5488cf7758909924f0e9ec2.
@jtenniswood jtenniswood changed the title Consolidate pooled runtime and guarded nested pages Additional level of subpage support Nov 8, 2026
@jtenniswood
jtenniswood force-pushed the consolidated-runtime-stack branch from 4ca909f to 239ca66 Compare November 9, 2026 10:24
@jtenniswood jtenniswood added the testing Code complete, testing and verification in progress label Nov 9, 2026
@jtenniswood
jtenniswood force-pushed the consolidated-runtime-stack branch from 239ca66 to ac913fd Compare November 29, 2026 13:12
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@jtenniswood
jtenniswood force-pushed the consolidated-runtime-stack branch from ac913fd to c408705 Compare November 29, 2026 13:49
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@jtenniswood
jtenniswood force-pushed the consolidated-runtime-stack branch from c408705 to 84044d1 Compare November 30, 2026 11:42
@jtenniswood
jtenniswood force-pushed the consolidated-runtime-stack branch from 84044d1 to e6c0d0e Compare November 30, 2026 11:54
@jtenniswood
jtenniswood merged commit 98d6e3e into main Nov 30, 2026
12 checks passed
@jtenniswood
jtenniswood deleted the consolidated-runtime-stack branch November 30, 2026 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing Code complete, testing and verification in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant